*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body{
    background-image: url('./images/bg.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
}


header{
    height: 60px;
}
/* 顶部横条 */
.top{
    background: #1e2022;
    height: 60px;
    color: white;
    display: flex;
    align-items: center;
    font-size: 1.6em;
}
.top_title{
    width: 70%;
    margin: 0 auto;
}
/* 导航横条 */
.nav{
    width: 70%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    height: 100%;
    font-size: 1.4em;
    background-color: #444f59;
}
.nav_item{
    cursor: pointer;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}
.nav_item:hover{
    font-weight: bolder;
}
.nav_item_active{
    color: #444f59;
    background: white;
}

/* 内容部分 */
main{
    width: 70%;
    margin: 100px auto;
    display: flex;
    flex-wrap: wrap;
}
/* 诗人侧栏 */
.poets{
    flex: 2;
    height: 70vh;
    overflow: auto;
    background: #444f59;
    border-radius: 1em;
    box-shadow: 1px 3px 5px black;
    padding: 1em 0;
}
.article,.empty{
    flex: 7;
}
.empty,.empty_poets{
    display: flex;
    justify-content: center;
    align-items: center;
}
.empty_poets{
    color: white;
}

/* 滚动条样式 */
::-webkit-scrollbar
{
	width: 2px;
	height: 2px;
}
::-webkit-scrollbar-thumb
{
	border-radius: 10px;
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
	background-color: #f0f5f9;
}



.poet_item{
    padding: 1em;
    display: flex;
    align-items: center;
    color: #f0f5f9;
    cursor: pointer;
    font-size: 1.2em;
}
.poet_item_active{
    color: #444f59;
    background: #f0f5f9;
    font-weight: bold;
    border-left: 1em solid;
    border-radius: 2em 0em 0em 2em;
    font-size: 1.4em;
}
.poet_name{
    margin-left: 1em;
}
.poet_img{
    width: 60px;
    height: 60px;
    border-radius: 30px;
    overflow: hidden;
}
.img{
    width: 100%;
    height: 100%;
}


.article_card{
    padding: 2em;
}
.article_name{
    font-size:2em;
    color: black;
}
.article_title{
    font-size: .8em;
    padding: 2px 10px;
    background-color: #52616a;
    color: white;
    border-radius: 0.4em;
    margin-left: 1em;
}
.article_info{
    font-size: 1.2em;
    margin-top: 1em;
}
main>div+div{
    margin-right: 1em;
}

